/**
 * 
 */
package com.mvc.service.vo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mvc.dao.mapper.vo.HealthBloodDao;
import com.mvc.framework.constant.GlobalConstant;
import com.mvc.model.vo.HealthBlood;
import com.mvc.service.vo.HealthBloodService;


/**
 * @author qingjie
 *
 */
@Service
public class HealthBloodServiceImpl implements HealthBloodService {
	
	@Autowired
	private HealthBloodDao hBloodDao;

	@Override
	public void insertHealthBlood(HealthBlood hBlood) {
		switch (GlobalConstant.systemType) {
		case 0:
			hBloodDao.insertHealthBlood(hBlood);
			break;
		case 1:
			hBloodDao.insertBloodOxygen(hBlood);
			break;
		default:
			break;
		}
		
	}

}
